<?php /* Smarty version 2.6.26, created on 2013-08-23 06:03:48
         compiled from product_default.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'l', 'product_default.tpl', 7, false),array('modifier', 'thumb', 'product_default.tpl', 27, false),array('modifier', 'number_format', 'product_default.tpl', 30, false),)), $this); ?>
<section class="row clearfix">
	<div class="post three pull-left">
		<div class="prd-cat post">
			<h2 class="title">Danh mục sản phẩm</h2>
			<ul>
				<?php $_from = $this->_tpl_vars['aCat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['cat']):
?>
				<li><a href="<?php echo ((is_array($_tmp='product/cat/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['id'])); ?>
"><?php echo $this->_tpl_vars['cat']; ?>
</a></li>
				<?php endforeach; endif; unset($_from); ?>				
			</ul>
		</div>
		
		<div class="prd-cat post">
			<h2 class="title">Bộ sưu tập</h2>
			<ul>
				<?php $_from = $this->_tpl_vars['aCollection']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['cat']):
?>
				<li><a href="<?php echo ((is_array($_tmp='collection/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['id'])); ?>
"><?php echo $this->_tpl_vars['cat']; ?>
</a></li>
				<?php endforeach; endif; unset($_from); ?>				
			</ul>
		</div>
	</div>
	
	<div class="post nine pull-right">
		<div class="row clearfix">
			<?php $_from = $this->_tpl_vars['aPrd']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['prd']):
?>
			<div class="post four column">
				<div class="prd-item">
					<div class="post-image"><a href="<?php echo ((is_array($_tmp='product/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['prd']['product_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['prd']['product_id'])); ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['prd']['product_thumb'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 'w227') : smarty_modifier_thumb($_tmp, 'w227')); ?>
" /></a></div>
					<div class="post-container">
						<h2 class="prd-title"><a href="<?php echo ((is_array($_tmp='product/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['prd']['product_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['prd']['product_id'])); ?>
"><?php echo $this->_tpl_vars['prd']['product_title']; ?>
</a></h2>
						<div class="prd-price"><?php echo ((is_array($_tmp=$this->_tpl_vars['prd']['product_price'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
 đ</div>
					</div>
				</div>
			</div>
			<?php endforeach; else: ?>
			<p>Chưa có sản phẩm nào</p>
			<?php endif; unset($_from); ?>
		</div>
	</div>
</section>